home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000079_fdc@panix.com_Thu Feb 22 13:25:20 2007.msg
< prev
next >
Wrap
Internet Message Format
|
2018-01-01
|
3KB
Path: reader2.panix.com!panix!not-for-mail
From: Frank Da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL Solaris 9 compile errors
Date: Thu, 22 Feb 2007 18:25:12 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 51
Message-ID: <slrnetro08.nif.fdc@panix3.panix.com>
References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com> <slrnet6bnr.t17.fdc@panix1.panix.com> <1171474573.115000.277200@v45g2000cwv.googlegroups.com> <slrnet95nd.1b6.fdc@panix2.panix.com> <1171585254.113397.40400@v33g2000cwv.googlegroups.com> <slrnetc6ch.8ae.fdc@panix1.panix.com> <1172066927.099583.146980@j27g2000cwj.googlegroups.com> <slrnetp1rf.1j0.fdc@panix1.panix.com> <1172090871.101683.127130@l53g2000cwa.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix3.panix.com
X-Trace: reader2.panix.com 1172168712 18687 166.84.1.3 (22 Feb 2007 18:25:12 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Thu, 22 Feb 2007 18:25:12 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15651
On 2007-02-21, Gary Quiring <gquiring@gmail.com> wrote:
: I am 100% confused. Are you saying it can't find my SSL include and
: header files? Because the errors says it can't parse the contents of
: the file which means it is finding the stuff right?
:
It is finding SOME ssl header files and getting parse errors. The only
reasons I know of that this would happen are:
1. The files are from OpenSSL 0.9.7 or later but you have not included
-DOPENSSL_097 in the compiler flags; or:
2. The files are from OpenSSL 0.9.6 or earlier but you have included
the -DOPENSSL_097 flag.
: My SSL (0.9.8d) directory structure (/usr/local/ssl):
:
: bin
: certs
: include/openssl
: lib
: man
: misc
: private
:
So the question is, which SSL files is the makefile finding? If indeed
these files are where you say they are, and indeed they are the SSL version
you say they are, and indeed you have included the -DOPENSSL_097 flag in
the compilation, and indeed you have not pointed the makefile at some other
SSL directory tree, it should work (but there will be a few unavoidable but
harmless warnings in the security modules).
It should work because /usr/local/ is the makefile variable "sslroot"
is defined by default as "/usr/local", which it uses unless you redefine
sslroot, SSLINC, or SSLLIB.
If it doesn't work, then something is not as you described it.
We know that the makefile is finding *some* SSL header files, but cpp
is having a problem with them. What do you see when you do this:
ce /usr/local/ssl/include/openssl
grep OPENSSL_VERSION_TEXT opensslv.h
What happens if you omit the -DOPENSSL_097 flag, but leave everything else the
same?
Anyway, it will take some trial and error. You have to make the compiler
flags (presence or absence of -DOPENSSL_097) agree with the OpenSSL version of
the header files that are actually being read by cpp.
- Frank